package com.platform.data.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.platform.base.domain.BaseLocation;
import com.platform.common.annotation.Excel;
import com.platform.common.annotation.Excels;
import com.platform.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 热采集数据对象 meter_data
 * 
 * @author wangqi
 * @date 2020-09-27
 */
@Data
public class HeatRead extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 热表ID */
    @Excel(name = "热表ID")
    private String meterId;

    /** 本期累计热量 */
    @Excel(name = "本期累计热量")
    private String heata;

    /** 本期累计流量 */
    @Excel(name = "本期累计流量")
    private String flowa;

    /** 上期累计热量 */
    @Excel(name = "上期累计热量")
    private String heatb;

    /** 上期累计流量 */
    @Excel(name = "上期累计流量")
    private String flowb;

    /** 累计热量差额 */
    @Excel(name = "累计热量差额")
    private String heatc;

    /** 累计流量差额 */
    @Excel(name = "累计流量差额")
    private String flowc;



    /** 地址信息 */
    @Excels({
            @Excel(name = "地址全称", targetAttr = "locationName"),
            @Excel(name = "地址代码", targetAttr = "locationId", type = Excel.Type.EXPORT)
    })
    private BaseLocation location;
    /** 地址id */
    private String locationId;
    /** 地址id */
    private String locationName;

    /** 缴费状态 */
    @TableField(exist = false)
    @Excel(name = "用户类型", readConverterExp = "0=未缴费,1=缴费")
    private String status;

}
